package com.eastfair.builder.dao;

import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.builder.entity.ReportDrawing;
import com.eastfair.builder.vo.ReportDrawingVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 报馆图纸
 * </p>
 *
 * @author dq
 * @date 2022-08-06
 */
@Repository
public interface ReportDrawingMapper extends SuperMapper<ReportDrawing> {

    /**
     * 查询已提交的图纸分类列表.
     *
     * @param reportSpaceId the report space id
     * @return the list
     */
    List<ReportDrawingVO> listDrawingCategoriesByReportSpaceId(@Param("reportSpaceId") Long reportSpaceId);
}
